<template>
  <div class="root">
    <router-link to="/Find">发现音乐</router-link>
    <router-link to="/My">我的音乐</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.root {
  width: 300px;
}
.root a {
  display: inline-block;
  width: 33%;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #333;
  color: #fff;
  text-decoration: none;
}
.root a:hover {
  background: rgb(139, 138, 138);
}
.root .router-link-active {
  background: rgb(139, 138, 138);
}
</style>